package com.beasts.antpage.core.service.content;

import com.beasts.antpage.core.dao.content.IApArticleDao;
import com.beasts.antpage.core.entity.content.ApArticle;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Locker
 * @date 17/07/2018 3:36 PM
 * @since 1.0
 */
@Service
public class ApArticleServiceImpl implements IApArticleService {

    @Autowired
    private IApArticleDao apArticleDao;

    @Override
    public List<ApArticle> findAll() {
        return apArticleDao.findAll();
    }
}
